package com.sservice.model.dao;

import com.sservice.model.entity.Secretary;
import com.sservice.model.vo.SecretaryVo;

import java.util.List;

public interface ISecretaryDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Secretary record);

    int insertSelective(Secretary record);

    Secretary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Secretary record);

    int updateByPrimaryKey(Secretary record);

    List<Secretary> queryByPage(SecretaryVo user);

    int queryCount(SecretaryVo user);

}